package com.yuanfengPlus.basicInfoManage.loginAndAuthentication.dao;

import com.yuanfengPlus.basicInfoManage.loginAndAuthentication.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface UserMapper {
    @Select("SELECT * FROM user WHERE username = #{username}")
    User selectUserByUsername(@Param("username") String username);

    int addUser(User user);
}
